package online.misscl.lsy.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 疫苗信息表
 * </p>
 *
 * @author misscl
 * @since 2023/03/16 23:17
 */
@Getter
@Setter
@TableName("vaccine_information")
@ApiModel(value = "VaccineInformation对象", description = "疫苗信息表")
public class VaccineInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("疫苗ID")
    @TableId(value = "vaccine_id", type = IdType.AUTO)
    private Integer vaccineId;

    @ApiModelProperty("医院分类id")
    @TableField("hopital_sort_id")
    private Integer hopitalSortId;

    @ApiModelProperty("疫苗名称")
    @TableField("vaccine_name")
    private String vaccineName;

    @ApiModelProperty("价格")
    @TableField("vaccine_price")
    private Double vaccinePrice;

    @ApiModelProperty("生产厂家")
    @TableField("vaccine_factory")
    private String vaccineFactory;

    @ApiModelProperty("接种类别")
    @TableField("vaccine_type")
    private String vaccineType;

    @ApiModelProperty("疫苗介绍")
    @TableField("vaccine_intro")
    private String vaccineIntro;

    @ApiModelProperty("图片")
    @TableField("vaccine_img")
    private String vaccineImg;

    @ApiModelProperty("适合年龄")
    @TableField("suitable_age")
    private String suitableAge;

    @ApiModelProperty("删除标识")
    @TableField("del_flag")
    private String delFlag;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("创建者")
    @TableField(value = "create_by",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty("更新时间")
    @TableField(value = "update_time",fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;

    @ApiModelProperty("更新者")
    @TableField(value = "update_by",fill = FieldFill.UPDATE)
    private String updateBy;

}
